home *** CD-ROM | disk | FTP | other *** search
- Path: cpca3.uea.ac.uk!news
- From: Stewart Long <sl@sys.uea.ac.uk>
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: Compare Algorithm
- Date: 27 Feb 1996 09:11:50 GMT
- Organization: University of East Anglia, Norwich, Norfolk, NR47TJ, UK
- Message-ID: <4guhsm$gqq@cpca3.uea.ac.uk>
- References: <N.022396.170834.83@dublin-ts6-142.indigo.ie>
- NNTP-Posting-Host: slpc.sys.uea.ac.uk
-
- keyboard@indigo.ie wrote:
- >
- > Hi Guys,
- >
- > I wish to compare strings, and be able to find out what their differences are.
- > These strings are usually sentences, so I want to be able to see what has
- > been added or removed. If you know of a good algorithm in C/C++ to do the job,
- > please post it here on the newsgroup.
- > Thanks, Jo.
- >
-
- I use the one in
-
- Webb Miller and Eugene W. Myers. A File Comparison program. Software - Practice
- and Experience, 15: 1025-1040, 1985.
-
- It's well explained and is given in C code.
-
- Hope this helps,
-
- Stewart
-
-